package com.lenovo.lcdm.type.dto;

import java.util.List;

public class AttributeGroupDTO {

    private Long id;

    private String name;

    private String displayName;

    private Long typeId;

    private String description;

    private String visibility = "Public";

    private List<LocalAttributeDTO> localAttributes;

    private Long sortId;

    private List<Long> localAttributeIds;

    private Long groupId;

    public Long getSortId() {
        return sortId;
    }

    public void setSortId(Long sortId) {
        this.sortId = sortId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public List<LocalAttributeDTO> getLocalAttributes() {
        return localAttributes;
    }

    public void setLocalAttributes(List<LocalAttributeDTO> localAttributes) {
        this.localAttributes = localAttributes;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<Long> getLocalAttributeIds() {
        return localAttributeIds;
    }

    public void setLocalAttributeIds(List<Long> localAttributeIds) {
        this.localAttributeIds = localAttributeIds;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getVisibility() {
        return visibility==null?"Public":visibility;
    }

    public void setVisibility(String visibility) {
        this.visibility = visibility;
    }
}
